<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<th:block th:if="${#lists.isEmpty(examUseFiveList)}">
    <tr>
        <td colspan="10">
            <div class="noDataTipsBox">
                <p><span class="c-4e fs16">当前条件下暂时没有考试榜统计数据~~~</span></p>
            </div>
        </td>
    </tr>
</th:block>
<th:block th:if="!${#lists.isEmpty(examUseFiveList)}" th:each="exam,index : ${examUseFiveList}">
    <tr>
        <td>
            <div class="media stat-goods-rank__wrap">
                <div class="media-body">
                    <span class="badge badge-danger" th:if="${index.count}==1">1</span>
                    <span class="badge badge-warning" th:if="${index.count}==2">2</span>
                    <span class="badge badge-info" th:if="${index.count}==3">3</span>
                    <span class="badge badge-primary" th:if="${index.count}==4">4</span>
                    <span class="badge badge-success" th:if="${index.count}==5">5</span>
                    <span class="fs14 c-master" th:text="${exam['examName']}"></span>
                    <br>
                    <span class="fs12 c-red" th:text="${exam['examPrice']}==0?'免费':'￥'+${exam['examPrice']}">--</span>
                </div>
            </div>
        </td>
        <td class="text-center"><b class="line" th:text="${exam['uvCount']}==0?'--':${exam['uvCount']}">--</b></td>
        <td class="text-center"><b class="line" th:text="${exam['userNum']}==0?'--':${exam['userNum']}">--</b></td>
    </tr>
</th:block>
</html>